projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c51f1fd
)
imcontextwayland: (Hopefully) fix if expression
author
Timm Bäder
<mail@baedert.org>
Fri, 4 Jan 2019 04:55:26 +0000
(
05:55
+0100)
committer
Timm Bäder
<mail@baedert.org>
Fri, 4 Jan 2019 04:55:26 +0000
(
05:55
+0100)
gtk/gtkimcontextwayland.c
patch
|
blob
|
history
diff --git
a/gtk/gtkimcontextwayland.c
b/gtk/gtkimcontextwayland.c
index 86ae4d43d4f1c0423e86f523c14af20929bad1aa..66ea4c86c91fb1f377cf7a89bd486d5e795f0545 100644
(file)
--- a/
gtk/gtkimcontextwayland.c
+++ b/
gtk/gtkimcontextwayland.c
@@
-282,7
+282,7
@@
notify_surrounding_text (GtkIMContextWayland *context)
end = &context->surrounding.text[MAX_LEN];
}
else if (context->surrounding.cursor_idx > len - MAX_LEN &&
- context->surrounding.
curs
or_idx > len - MAX_LEN)
+ context->surrounding.
anch
or_idx > len - MAX_LEN)
{
start = &context->surrounding.text[len - MAX_LEN];
end = &context->surrounding.text[len];